package com.ynunicom.dc.dingdingcontractapp.entity.requestbodyentity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author: jinye.Bai
 * @date: 2020/6/9 15:11
 */
@Data
public class AlterRequestBody implements Serializable {
    private static final long serialVersionUID = -8457911672501958275L;

    /**
     * 这个参数只能为以下两个参数之一
     * alter
     * endNotByTime
     */
    @NotBlank
    private String userId;

    @NotBlank
    private String endMethod;

    private String comment;

    @NotBlank
    private String taskId;

}
